package com.mf.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 任务明细
 * </p>
 *
 * @author mf
 * @since 2024-04-13
 */
@Getter
@Setter
@TableName("t_task_detail")
public class TaskDetail {

/**
 * 开始时间
 */
@Schema(description = "开始时间")
private String startTime;

/**
 * 结束时间
 */
@Schema(description = "结束时间")
private String endTime;

/**
 * 任务id
 */
@Schema(description = "任务id")
@TableField(updateStrategy = FieldStrategy.NEVER)
private Integer tId;


/**
 *完成任务日期
 */
@Schema(description = "创建时间")
@NotBlank
@TableField(updateStrategy = FieldStrategy.NEVER)
private String date;

/**
 * id
 */
@Schema(description = "id")
private Integer id;


/**
 * 创建时间
 */
@Schema(description = "创建时间")
private LocalDateTime createdTime;

/**
 * 更新时间
 */
@Schema(description = "更新时间")
private LocalDateTime updateTime;
        }